package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Collect;
import cn.wolfcode.trip.base.query.CollectQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface CollectMapper {
    int deleteByPrimaryKey(CollectQueryObject qo);

    int insert(CollectQueryObject qo);

    Collect selectByPrimaryKey(Long id);

    List<Collect> selectAll();

    int updateByPrimaryKey(Collect record);

    List<Collect> selectForTravels(QueryObject qo);

    List<Collect> selectForDailies(QueryObject qo);

    List<Collect> selectForStrategies(CollectQueryObject qo);

    Collect selectfortravel(CollectQueryObject qo);

    int selectforCount(CollectQueryObject qo);
}